package day7;

public class Hamster extends Pet{
    public Hamster(String name, int health) {
        super(name, health);
    }

    public void print() {
        System.out.println("仓鼠" + super.getName() + "非常可爱！");
        super.introduce();
    }

    public void gnawing() {
        System.out.println("仓鼠" + this.getName() + "在啃桌腿！");
    }
}